package com.gpnu.crm.domain;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

@Data
public class SystemDictionaryItem {
	private Long id;
	private Long parentId;
	private String title;
	private Integer sequence;

	public String getJson() {
		Map<String, Object> map = new HashMap();
		map.put("id", id);
		map.put("title", title);
		map.put("sequence", sequence);
		return JSONObject.toJSONString(map);
	}


	
}
